public class LianXi {
    public static void main(String[] args) {
        for (int i = 1; i <=7 ; i+=2) {
            for (int j = 1; j <=i ; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
        for (int i = 1; i <=5; i+=2) {
            for (int j = 5; i<=j ; j--) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
